package com.weigee.ktv.v.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.l.d.app.library.app.WrapFragment;
import com.l.d.app.library.eventbus.EventSend;

/**
 * Created by linde on 2017/04/27.
 * <p/>
 */
public abstract class BaseFragment2 extends WrapFragment {

    @Override
    public final void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EventSend.register(this);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        EventSend.unregister(this);
    }
}
